﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mytrip.Theme
{
   public static class HeadingsElements
    {
       public static string h1_h2_h3_h4_h5_h6()
       {
           StringBuilder result = new StringBuilder();
           if (ThemeSetting.theme() == "blue")
           {
               result.AppendLine("font-family: Arial, Helvetica, sans-serif;");
           } if (ThemeSetting.theme() == "green")
           {
               result.AppendLine("font-family: Georgia, 'Times New Roman', Times, serif;");
           }
           result.AppendLine("font-size: 1.5em;");
           result.AppendLine("color: #000");
           return result.ToString();
       }
       public static string h1()
       {
           StringBuilder result = new StringBuilder();
           result.AppendLine("font-size: 2em;");
           result.AppendLine("padding-bottom: 0;");
           result.AppendLine("margin-bottom: 0;");
           return result.ToString();
       }
       public static string h2()
       {
           StringBuilder result = new StringBuilder();
           result.AppendLine("padding: 0;");
           return result.ToString();
       }
       public static string h3()
       {
           StringBuilder result = new StringBuilder();
           result.AppendLine("font-size: 1.2em;");
           return result.ToString();
       }
       public static string h4()
       {
           StringBuilder result = new StringBuilder();
           result.AppendLine("font-size: 1.1em;");
           return result.ToString();
       }
       public static string h5_h6()
       {
           StringBuilder result = new StringBuilder();
           result.AppendLine("font-size: 1em;");
           return result.ToString();
       }
       public static string h2_adminlink()
       {
           StringBuilder result = new StringBuilder();
           result.AppendLine("position: relative;");
           result.AppendLine("float: right;");
           return result.ToString();
       }
       public static string h2_white()
       {
           StringBuilder result = new StringBuilder();
           result.AppendLine("color: #fff;");
           return result.ToString();
       }
    }
}
